package cn.fly.blog.base.db.entity;

import java.util.Date;

import cn.fly.blog.common.db.entity.SuperEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * (Account)表实体类
 *
 * @author flython by EasyCode
 * @since 2021-08-10 00:46:05
 */
@SuppressWarnings("serial")
@Accessors(chain = true)
@Getter
@Setter
@TableName("t_account")
public class Account extends SuperEntity<Account> {

    @TableField(value = "account")
    private String account;
    //密码加密后的字段
    @TableField(value = "auth")
    private String auth;
    //历史密码记录
    @TableField(value = "history", select = false)
    private String history;
    //定义该账号所拥有的功能，由代码端定义(使用bool)
    @TableField(value = "ability")
    private Integer ability;

    @TableField(value = "extra")
    private String extra;


}
